package com.taobaolite.user;

public class RespBody{

    // TODO: 增加参数检查
    private Long userId;
    private Double balance;
    private UserType type;
    private String email;
    private String username;
    private String password;

    private String name; // nullable
    private String description; // nullable
    private String logoPath; // nullable

    private String tokenName;
    private String tokenValue;

    public RespBody() {
    }

    public RespBody(Long userId,
                    Double balance,
                    UserType type,
                    String email,
                    String username,
                    String password,
                    String name,
                    String description,
                    String logoPath,
                    String tokenName,
                    String tokenValue) {
        this.userId = userId;
        this.balance = balance;
        this.type = type;
        this.email = email;
        this.username = username;
        this.password = password;
        this.name = name;
        this.description = description;
        this.logoPath = logoPath;
        this.tokenName = tokenName;
        this.tokenValue = tokenValue;
    }

    public String getTokenName() {
        return tokenName;
    }

    public void setTokenName(String tokenName) {
        this.tokenName = tokenName;
    }

    public String getTokenValue() {
        return tokenValue;
    }

    public void setTokenValue(String tokenValue) {
        this.tokenValue = tokenValue;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
        this.balance = balance;
    }

    public UserType getType() {
        return type;
    }

    public void setType(UserType type) {
        this.type = type;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getLogoPath() {
        return logoPath;
    }

    public void setLogoPath(String logoPath) {
        this.logoPath = logoPath;
    }
}
